import mongoose from 'mongoose'

const goodSchema = new mongoose.Schema({
  title: {
    type: String,
    required: true
  },
  itemList: {
    type: Array
  }
})

export default mongoose.model('goods', goodSchema)
